package stud.aistar.entity;

import java.io.Serializable;

public class Image implements Serializable {
    private Integer id;

    private String iname;

    private String link;

    private Integer userId;

    private Integer docId;

    private Integer medId;

    private Integer type;

    private String  inowtime;

    public String getInowtime() {
        return inowtime;
    }

    public void setInowtime(String inowtime) {
        this.inowtime = inowtime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIname() {
        return iname;
    }

    public void setIname(String iname) {
        this.iname = iname;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getDocId() {
        return docId;
    }

    public void setDocId(Integer docId) {
        this.docId = docId;
    }

    public Integer getMedId() {
        return medId;
    }

    public void setMedId(Integer medId) {
        this.medId = medId;
    }

    @Override
    public String toString() {
        return "Image{" +
                "id=" + id +
                ", iname='" + iname + '\'' +
                ", link='" + link + '\'' +
                ", userId=" + userId +
                ", docId=" + docId +
                ", medId=" + medId +
                ", type=" + type +
                ", inowtime='" + inowtime + '\'' +
                '}';
    }
}